import request from '@/utils/request'


export const getList = (current, size, params) => {
  return request({
    url: '/jumpsmslog/page',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    },
  });
};


export const remove = id => {
  return request({
    url: `/jumpsmslog/${id}`,
    method: 'delete',
  });
};

export const update = row => {
  return request({
    url: '/jumpsmslog',
    method: 'put',
    data: row,
  });
};
export const save = row => {
  return request({
    url: '/jumpsmslog',
    method: 'post',
    data: row,
  });
};
